package com.team.ai.mapper;

import com.team.ai.entity.Administrator;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminiMapper {
    Administrator login(String name,String pwd);
    int insert(String name,String pwd,String phone,String email,int age);
    int delete(int id);
    int update(String name,String pwd,String phone,String email,int age,int id);
    Administrator selectByPrimaryKey(int id);
    List<Administrator> selectList();
}
